from config.baseconfig import ConfigBase
from config.secure import Secure_info

class TestingConfig(ConfigBase):
    TESTING = False
    SQLALCHEMY_TRACK_MODIFICATIONS = True
    SQLALCHEMY_DATABASE_URI = Secure_info.get_mysql_of_test()



# # coding: utf-8
# import os
#
# from .default import Config
#
#
# class TestingConfig(Config):
#     # Flask app config
#     DEBUG = False
#     TESTING = True
#     SECRET_KEY = "sample_key"
#
#     # Root path of project
#     PROJECT_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
#
#     # Site domain
#     SITE_TITLE = "twtf"
#     SITE_DOMAIN = "http://localhost:8080"
#
#     # MongoEngine config
#     MONGODB_SETTINGS = {
#         'db': 'the_way_to_flask_test',
#         'host': '192.168.59.103',
#         'port': 27017
#     }
